import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;


public class TimBelcher {

	String htmlFile; 
	ArrayList<InventoryItem> inventoryItemList = new ArrayList<InventoryItem>();

	public TimBelcher(String fileLocation){ 
		htmlFile = fileLocation;
		this.readInFile();
	}

	private void readInFile(){
		try {
			BufferedReader htmlInput = new BufferedReader(new FileReader(htmlFile));
			String line = null;
			while((line=htmlInput.readLine())!= null){
				if(line.contains("<h1>")){
					
				}
				
				
				
				System.out.println(line);
			}
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException ioe){
			ioe.printStackTrace();
		}

	}





	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		new TimBelcher("C:\\Users\\sdonaldson.TRIBE\\Desktop\\Saving\\Test - Mech 7.html");
	
	}

}
